//
// Created by bxw57 on 2024/6/13.
//

#ifndef CPPPRACTICE_QUEUE_H
#define CPPPRACTICE_QUEUE_H

#include "Base.h"

template<class T>
class Queue : public Base<T> {
public:
    Queue(int cap): Base<T>(cap), front(0){}
    void push(T val);
    T pop();
    void show();
private:
    int front;
};



#endif //CPPPRACTICE_QUEUE_H
